$OpenBSD: patch-configure_ac,v 1.1 2014/10/17 13:24:59 jasper Exp $
--- configure.ac.orig	Fri Oct 17 14:27:14 2014
+++ configure.ac	Fri Oct 17 14:27:28 2014
@@ -544,7 +544,7 @@ AC_CHECK_FUNCS(strdup strndup strerror)
 AC_CHECK_FUNCS(finite isnand fp_class class fpclass)
 AC_CHECK_FUNCS(strftime localtime gettimeofday ftime)
 AC_CHECK_FUNCS(stat _stat signal)
-AC_CHECK_FUNCS(rand rand_r srand time)
+AC_CHECK_FUNCS(arc4random rand rand_r srand time)
 AC_CHECK_FUNCS(isascii mmap munmap putenv)
 
 AH_VERBATIM([HAVE_MUNMAP_AFTER],[/* mmap() is no good without munmap() */
